package top.infopub.mgr.bpa.service;


import com.github.pagehelper.Page;
import top.infopub.dto.bpa.OtherContractsInventoryDto;
import top.infopub.mgr.bpa.domain.OtherConInventoryDomain;
import top.infopub.mgr.bpa.vo.OtherConInventoryVo;
import top.infopub.model.bpa.OtherContractsInventory;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 其他合同清单录 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-06-18
 */
public interface OtherContractsInventoryService  {
    /**
     * 根据条件查询分页数据
     * @param page
     * @param otherConInventoryVo
     * @return
     * @see
     */
    Page<OtherConInventoryDomain> selectPageByDomainWhere(Page<OtherConInventoryDomain> page,
                                                          OtherConInventoryVo otherConInventoryVo);



    //下拉框数据
    List<Map<String, String>> projectDropDownBox();

    OtherContractsInventoryDto queryById(String id);

    int save(OtherContractsInventoryDto dto);

    OtherContractsInventory findById(String id);
}
